package com.itheima.developtest;

import java.util.Scanner;

public class Test02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] keyWord = {"sb","SB","TMD","tmd","傻蛋"};
        System.out.println("相信你的评论,一定可以一针见血:");
        String line = sc.next();
        String newLine = line;
        for (int i = 0; i < keyWord.length; i++) {
            newLine = newLine.replace(keyWord[i], "***");
        }
        System.out.println(newLine);
    }
}

